package safrain.nodelet.exception;

/**
 * 表明一个类型没有注册到服务
 * 
 * @author safrain
 * 
 */
public class TypeNotRegisteredException extends RuntimeException {
	private static final long serialVersionUID = -5308499407693167616L;

	public TypeNotRegisteredException() {
		super();
	}

	public TypeNotRegisteredException(Class<?> type) {
		this("Type " + type.getName() + " not registered");
	}

	public TypeNotRegisteredException(String message) {
		super(message);
	}

}
